package com.biz.primus.model.oms.exception;

import com.biz.primus.base.exception.ExceptionType;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author yanweijin
 * @date 2017/11/7
 */
@Getter
@AllArgsConstructor
public enum OmsExceptions implements ExceptionType{

	ORDER_NOT_FOUNT(8200, "订单不存在"),
	STATE_ERROR(8201, "业务状态不匹配"),
	ORDER_CANCEL(8202, "业务已被终止"),
	ORDER_CODE_ERROR(8203,"订单编号错误"),
	DEPOT_ERROR(8210, "门店不匹配"),
	DISPATCHING_ORDER(8220, "调度订单,不能申请改派"),

	CHANNEL_ERROR(8240, "渠道不存在"),
	RETURN_NOT_FOUNT(8250, "退单不存在"),
	NEED_PAYMENTS_INFO(8280, "需要填写支付信息"),


	IS_HANDING(8301, "业务正在处理中");



	private static final int BASE_CODE = 8200;

	private int code;

	private String description;

}
